import java.util.StringTokenizer;

class Main {

       public static void main(String[] args) {
               String line = readLn();
               while (!line.equals("0 0 0 0 0")) {
                       StringTokenizer st = new StringTokenizer(line);
                       int a = Integer.parseInt(st.nextToken());
                       int b = Integer.parseInt(st.nextToken());
                       int c = Integer.parseInt(st.nextToken());
                       int d = Integer.parseInt(st.nextToken());
                       int e = Integer.parseInt(st.nextToken());
                       process(a, b, c, d, e);
                       line = readLn();
               }
       }

       private static void process(int a, int b, int c, int d, int e) {
               for (int k = 0; k < 3; k++) {
                       for (int j = 0; j < 3; j++) {
                               for (int l = 0; l < 3; l++) {
                                       for (int m = 0; m < 3; m++) {
                                               if (operate(k, j, l, m, a, b, c, d, e) == 23) {
                                                       System.out.println("Possible");
                                                       return;
                                               }
                                       }
                               }
                       }
               }
               System.out.println("Impossible");
       }

       //      op(op(op(op(a, k, b), j, c), l, d), m, e)

       private static int operate(int k, int j, int l, int m, int a, int b, int c, int d, int e) {
               int[] x = { a, b, c, d, e };

               for (int aa = 0; aa < 5; aa++) {
                       for (int bb = 0; bb < 5; bb++) {
                               if (aa != bb) {
                                       for (int cc = 0; cc < 5; cc++) {
                                               if (bb != cc) {
                                                       for (int dd = 0; dd < 5; dd++) {
                                                               if (cc != dd) {
                                                                       for (int ee = 0; ee < 5; ee++) {
                                                                               if (dd != ee) {
                                                                                       if (aa != cc && aa != dd && aa != ee && bb != dd && bb != ee
                                                                                                       && cc != ee) {
                                                                                               if (op(op(op(op(x[aa], k, x[bb]), j, x[cc]), l, x[dd]), m,
                                                                                                               x[ee]) == 23) {
                                                                                                       return 23;
                                                                                               }
                                                                                       }
                                                                               }
                                                                       }
                                                               }
                                                       }
                                               }
                                       }
                               }
                       }
               }
               return -1;
       }

       private static int op(int a, int k, int b) {
               switch (k) {
               case 0:
//                      System.out.println(a + "+" + b + "=" + (a + b));
                       return a + b;
               case 1:
//                      System.out.println(a + "-" + b + "=" + (a - b));
                       return a - b;
               case 2:
//                      System.out.println(a + "*" + b + "=" + (a * b));
                       return a * b;
               }
               return -1;
       }

       static String readLn() {
               String newLine = System.getProperty("line.separator");
               StringBuffer buffer = new StringBuffer();
               int car = -1;
               try {
                       car = System.in.read();
                       while ((car > 0) && (car != newLine.charAt(0))) {
                               buffer.append((char) car);
                               car = System.in.read();
                       }
                       if (car == newLine.charAt(0))
                               System.in.skip(newLine.length() - 1);
               } catch (java.io.IOException e) {
                       return (null);
               }
               if ((car < 0) && (buffer.length() == 0))
                       return (null);
               return (buffer.toString()).trim();
       }

}
